﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CONFIG.aspx.cs" Inherits="ZHONGLANGWEBUI.ZHONGLANG.SET.CONFIG" %>
<%@ Register Src="../../ZhongLang/TT_DGHEADPAGE.ascx" TagName="PagerNavigation" TagPrefix="ucPage" %>
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><title>TT</title>
    <script type="text/javascript" src="../../ZhongLang/CSSJS/PageScript.js"></script>
    <script src="../../ZhongLang/CSSJS/My97DatePicker/WdatePicker.js"></script>
    <link href="../../ZhongLang/CSSJS/style.css?TT=CSS20161107" rel="stylesheet" />
    <link href="../../cssjs/css/bootstrap.min.css?v=3.3.6" rel="stylesheet" />
    <link href="../../cssjs/css/plugins/iCheck/custom.css" rel="stylesheet" />
    <link href="../../cssjs/css/plugins/sweetalert/sweetalert.css" rel="stylesheet" />
    <link href="../../cssjs/css/font-awesome.min.css?v=4.4.0" rel="stylesheet" />
    <link href="../../cssjs/css/animate.min.css" rel="stylesheet" />
    <link href="../../cssjs/css/style.min.css?v=1.0.0" rel="stylesheet" />
</head><body class="gray-bg"><div class="wrapper wrapper-content animated fadeInRight"><form id="frmTT" name="master" runat="server" role="form" class="form-inline">
<!-------------------------------------------------------------------------------------------------->
<div class="row" id="tabQuery" runat="server"><div class="col-sm-12"><div class="float-e-margins"><div class="ibox-content">
    <div class="form-group">
        <label>配置名称:</label><asp:TextBox ID="txtQCONFIGNAME" runat="server" CssClass="form-control" MaxLength="32" />  
    </div>
    <asp:Button ID="btnQuery" runat="server" CommandName="查询" Text="查询" CssClass="btn btn-w-m btn-outline btn-primary" OnClick="btn_Click" />  
</div></div></div></div>
<!-------------------------------------------------------------------------------------------------->
<div style="overflow: auto; width: 100%;"><div id="tabShow" runat="server" style="overflow: auto; width: 100%;"><ucPage:PagerNavigation ID="pgShow" runat="server" />
    <asp:GridView ID="dgList" runat="server" Style="width: 100%" AutoGenerateColumns="False" DataKeyNames="CONFIGID"
        OnRowCommand="dgList_RowCommand" OnRowDataBound="dgList_RowDataBound" OnSorting="dgList_Sorting" AllowSorting="true">
        <HeaderStyle CssClass="Gv_HeaderStyle" /><RowStyle CssClass="Gv_RowStyle" /><AlternatingRowStyle CssClass="Gv_AlternateStyle" />
        <Columns>
            <asp:TemplateField><ItemStyle HorizontalAlign="Center" /><HeaderTemplate>序</HeaderTemplate>
                <ItemTemplate><label><%# this.dgList.PageIndex * this.dgList.PageSize + this.dgList.Rows.Count + 1%></label></ItemTemplate>
            </asp:TemplateField> 
        
                <asp:BoundField DataField="CONFIGNAME" HeaderText="配置名称" SortExpression="CONFIGNAME" ItemStyle-HorizontalAlign="Center" />  
            <asp:TemplateField HeaderText="修改配置值" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="250px" ><ItemTemplate>
                <asp:TextBox ID="txtECONFIGVALUE" Text='<%#Eval("CONFIGVALUE")%>' Width="100%" runat="server" CssClass="input_box" />
            </ItemTemplate></asp:TemplateField>  
            <asp:TemplateField HeaderText="操作" ItemStyle-HorizontalAlign="Center" > 
                <ItemTemplate><asp:LinkButton ID="lbtnB" Text="修改" runat="server" CommandArgument='<%#Eval("CONFIGID")%>'
                    CssClass="btn btn-success fa fa-keyboard-o" OnClientClick="return confirm('您确定修改该参数吗？')" CommandName="修改" /></ItemTemplate>  
            </asp:TemplateField>  
            
            <asp:BoundField DataField="CONFIGVALUE" HeaderText="配置值" Visible="false" />  
            <asp:BoundField DataField="CONFIGFMT" HeaderText="初始值" SortExpression="CONFIGFMT"  ItemStyle-HorizontalAlign="Left" ItemStyle-Width="250px"  />  
            <asp:BoundField DataField="CONFIGDESC"     HeaderText="配置描述" SortExpression="CONFIGDESC"   ItemStyle-HorizontalAlign="Left" ItemStyle-Width="250px"  />  
         
            <asp:BoundField DataField="UPDATEMANNAME" HeaderText="操作人" SortExpression="UPDATEMANNAME" ItemStyle-HorizontalAlign="Center" /> 
            <asp:BoundField DataField="UPDATETIME" HeaderText="操作时间" SortExpression="UPDATETIME" ItemStyle-HorizontalAlign="Center" /> 
        </Columns>
    </asp:GridView> 
</div></div> 
<!------------------------------------------------------------------------------------------------------------------->
</form></div>
<script src="../../cssjs/js/jquery.min.js?v=2.1.4"></script>
<script src="../../cssjs/js/bootstrap.min.js?v=3.3.6"></script>
<script src="../../cssjs/js/content.min.js?v=1.0.0"></script>
<script src="../../cssjs/js/plugins/iCheck/icheck.min.js"></script>
<script src="../../cssjs/js/plugins/sweetalert/sweetalert.min.js"></script>
<script> $(document).ready(function () { $(".i-checks").iCheck({ checkboxClass: "icheckbox_square-green", radioClass: "iradio_square-green", }) });</script>
</body></html> 